<?php
/**
 * Author: Thu Bach
 * Created: 20141016
 * Description: this is a test class, use for testing
 */	
class Products extends \Phalcon\Mvc\Collection
{
	
	
	public function getAll()
	{
		return Products::find();
	}
	
	public function getTotal()
	{
		return count(Products::find());
	}
	
	public function getFirst()
	{
		return Products::findFirst();
	}
}
